package com.inspection.dao;

import com.inspection.entity.SysUserDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface SysUserDao extends JpaRepository<SysUserDO, Long>, JpaSpecificationExecutor<SysUserDO> {


    Optional<SysUserDO> findSysUserDOByIsDelEqualsAndUserNameEqualsOrMobileEqualsOrUserCodeEquals(Integer isDel,String l1, String l2, String l3);

    Optional<SysUserDO> findSysUserDOByUserNameEqualsOrUserCodeEquals(String l1, String l2);


}